package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 会员学习记录对象 customer_learn
 * 
 * @author wolong
 * @date 2023-05-06
 */
public class CustomerLearn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员学习库记录主键 */
    private Long customerLearnId;

    /** 关联知识库ID */
    @Excel(name = "关联知识库ID")
    private Long learnId;

    /** 关联会员ID */
    @Excel(name = "关联会员ID")
    private Long customerId;

    /** 学习得分 */
    @Excel(name = "学习得分")
    private Long score;

    /**
     * 学习库学习时间
     */
    private Long learnTime;

    public Long getLearnTime()
    {
        return learnTime;
    }

    public void setLearnTime(Long learnTime)
    {
        this.learnTime = learnTime;
    }

    public void setCustomerLearnId(Long customerLearnId)
    {
        this.customerLearnId = customerLearnId;
    }

    public Long getCustomerLearnId() 
    {
        return customerLearnId;
    }
    public void setLearnId(Long learnId) 
    {
        this.learnId = learnId;
    }

    public Long getLearnId() 
    {
        return learnId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerLearnId", getCustomerLearnId())
            .append("learnId", getLearnId())
            .append("customerId", getCustomerId())
            .append("score", getScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
